home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000001_kapebe@web.de_Wed Nov 19 17:11:33 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
4KB
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: kapebe@web.de (Klaus-Peter Boden)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: using telephone keys to acknowledge a call?
Date: 19 Nov 2003 06:33:35 -0800
Organization: http://groups.google.com
Lines: 64
Message-ID: <e880768d.0311190633.bee3d9@posting.google.com>
References: <e880768d.0311180014.28b1d9c3@posting.google.com> <slrnbrk9at.2qp.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 193.197.162.33
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1069252415 30680 127.0.0.1 (19 Nov 2003 14:33:35 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 19 Nov 2003 14:33:35 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14676
Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbrk9at.2qp.fdc@sesame.cc.columbia.edu>...
> In article <e880768d.0311180014.28b1d9c3@posting.google.com>,
> Klaus-Peter Boden wrote:
> : I'm trying to build the following 'scenario':
> : I have a gsm modem (Falcom A2D, with a German Telecom D1 SIM card)
> : which is connected through a serial line to a linux box. With kermit
> : (700196, Debian Linux 2.4.18) I'm able to connect to the modem, input
> : the PIN, getting network registration status, network field strength
> : and so on (with special AT commands) and I'm able to dial out to other
> : mobile phones or to conventional telephone network.
> : So far, I'm happy ;-)
> :
> : What I would like to have is, that the called person can use it's
> : phone keys, enter a combination of for example '#42' and use this, to
> : 'acknowledge' that he/she had received the call and based on that,
> : doing further logic in the kermit script, eg. call another number or
> : trying 3 more times if he did'nt answer, then sending SMS,... and so
> : on, or using different keys resulting in different 'actions'
> A modem that uses the AT command set, or any other text-based command
> set, is simply a character device to Kermit. In Kermit, if you enter
> CONNECT (terminal) mode, then whatever you type at the keyboard is sent
> out the serial port to the device. The only hint is that first you might
> need to tell Kermit to:
>
> set carrier-watch off
>
> in case you need to communicate with the modem's command processor directly
> when there is no Carrier Detect signal from the modem,
>
> But a modem is not the same as a telephone, and characters from the serial
> port are not the same as telephone buttons. Therefore you must use the
> modem command that simulates Tone dialing, which is ATDT. So, for example,
> to simulate '#42' you would type "ATDT#42" and then press the Enter or
> Return key.
>
> As to scripting, you can get an introduction here:
>
> http://www.columbia.edu/kermit/ckscripts.html
>
> In this case, it's a matter of knowing when to send the ATDT commands.
> Kermit can only work with characters to and from the device. It can't
> "hear" tones, beeps, bongs, or voice instructions. But sometimes the
> modem can -- for example, some modems have a "wait for bong" command:
>
> ATDT$#42
>
> You'll have to read your modem manual to find out what is supported by
> your modem. As long as text comes out of the modem to indicate what is
> happening, you can script interactions reliably. Otherwise, you'll have
> to insert pauses to wait until it is safe to send the next command.
>
Thank you very much for the info!
So if I understand you correct, it means that this is a feature of the
modem and there have to be some modem-specific AT commands with which
I can 'read' the keys, the user pressed (or whatever)...
OK, next I will have to call the modem manufacturer if he supports
those 'wait for bong' commands.
Klaus
-kpb>
> - Frank